package cn.rkylin.oms.goods.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class GoodsCategory {
    /**
     * 序列化id
     */
    private static final long serialVersionUID = 2311996758392124878L;
    /**
     * 商品分类id
     */
    private String catgId;
    /**
     * 企业Id
     */
    private String entId;
    /**
     * 商品分类名称
     */
    private String catgName;
    /**
     * 父级商品分类id
     */
    private String parentCatgId;
    /**
     * 描述
     */
    private String remark;
    /**
     * 删除标记
     */
    private String deleted;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    /**
     *主数据编码
     */
    private String mdmCode;

    /**
     *主数据json 主要为了查错使用
     */
    private String mdmResponse;

    public String getCatgId() {
        return catgId;
    }

    public void setCatgId(String catgId) {
        this.catgId = catgId == null ? null : catgId.trim();
    }

    public String getEntId() {
        return entId;
    }

    public void setEntId(String entId) {
        this.entId = entId == null ? null : entId.trim();
    }

    public String getCatgName() {
        return catgName;
    }

    public void setCatgName(String catgName) {
        this.catgName = catgName == null ? null : catgName.trim();
    }

    public String getParentCatgId() {
        return parentCatgId;
    }

    public void setParentCatgId(String parentCatgId) {
        this.parentCatgId = parentCatgId == null ? null : parentCatgId.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getDeleted() {
        return deleted;
    }

    public void setDeleted(String deleted) {
        this.deleted = deleted == null ? null : deleted.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getMdmCode() {
        return mdmCode;
    }

    public void setMdmCode(String mdmCode) {
        this.mdmCode = mdmCode;
    }

    public String getMdmResponse() {
        return mdmResponse;
    }

    public void setMdmResponse(String mdmResponse) {
        this.mdmResponse = mdmResponse;
    }
}